import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import axios from 'axios'
import filters from '@/utils/filters';
import VueAwesomeSwiper from 'vue-awesome-swiper'
import 'swiper/swiper-bundle.css'

//移动端布局
import 'lib-flexible'
//vant 库引用
import Vant from 'vant'
//全局css引用
import './style/reset.css'
import './style/border.css'
import './style/iconfont.css'
import 'vant/lib/index.css'
import { List, Lazyload } from 'vant'

// 注册axios
Vue.prototype.$axios = axios
Vue.use(Vant)
Vue.use(VueAwesomeSwiper)
Vue.use(List)
Vue.use(Lazyload)
Object.keys(filters).forEach(key => {  
  Vue.filter(key, filters[key])  
}) 
Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
